﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace TFSBranchVisualizer.DataContracts
{
    [DataContract]
    public class BranchInfo
    {
        [DataMember]
        public BranchInfo Parent { get; set; }
        [DataMember]
        public string Name { get; set; }
        [DataMember]
        public List<BranchInfo> ChildBranches { get; set; }

        public BranchInfo()
        {
            ChildBranches = new List<BranchInfo>();
        }
    }
}
